import store from '../store/index'
//持久化
let user = localStorage.getItem('user');
console.log('1111',user);
if(user){
  user = JSON.parse(user);
  store.commit('loginModules/setUser',user);
}